﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="addChild.aspx.vb" Inherits="OAR.addChild" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="workerNrc" DataSourceID="ChildDataSource2">
            <Columns>
                <asp:BoundField DataField="workerNrc" HeaderText="workerNrc" ReadOnly="True" SortExpression="workerNrc" />
                <asp:BoundField DataField="workerName" HeaderText="workerName" SortExpression="workerName" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="ChildDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ClaimsConnectionString %>" ProviderName="<%$ ConnectionStrings:ClaimsConnectionString.ProviderName %>" SelectCommand="SELECT [workerNrc], [workerName] FROM [Worker] WHERE ([workerNrc] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="workerNrc" QueryStringField="workerNrc" Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
    </p>
</asp:Content>
